package com.niuwa.p2p.entity.promotion;

import java.util.Date;

public class Promotion {
    private Integer promotionId;

    private String promotionCode;

    private String promotionForcode;

    private Byte promotionType;

    private String promotionName;

    private Date startTime;

    private Date endTime;

    private Byte status;
    
    /**
     * 活动号生成规则
     * 举例：J0151013011
     * J0 两位标识活动归属   J 积分商城 B 邦购 Y有范
     * 151013 2015-10-13
     * 01 活动流水
     * 1 活动类型1积分 2 折扣 3积分+折扣
     */



	private String lastControllerName;

    private Date createTime;

    private String creator;

    public Integer getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Integer promotionId) {
        this.promotionId = promotionId;
    }

    public String getPromotionCode() {
        return promotionCode;
    }

    public void setPromotionCode(String promotionCode) {
        this.promotionCode = promotionCode == null ? null : promotionCode.trim();
    }

    public String getPromotionForcode() {
        return promotionForcode;
    }

    public void setPromotionForcode(String promotionForcode) {
        this.promotionForcode = promotionForcode == null ? null : promotionForcode.trim();
    }


    public Byte getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Byte promotionType) {
        this.promotionType = promotionType;
    }

    public String getPromotionName() {
        return promotionName;
    }

    public void setPromotionName(String promotionName) {
        this.promotionName = promotionName == null ? null : promotionName.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getLastControllerName() {
        return lastControllerName;
    }

    public void setLastControllerName(String lastControllerName) {
        this.lastControllerName = lastControllerName == null ? null : lastControllerName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }
}